﻿<?xml version="1.0" encoding="utf-8" ?>
<Feature id="ContentFiltering" name="Article Content Filtering Configuration">
	<Dependencies>
		<Dependency type="feature">ArticlesAdminFeature.xml</Dependency>
		<Dependency type="feature">TextContentFilteringFeature.xml</Dependency>
	</Dependencies>
	<BusinessRules>
		<BusinessRule name="filterArticleContentUpdate" security="disabled" preExtends="updateArticle">
			<Option value="$ArticleCoreRemoteTier$">
				<RemoteRule url="$ArticleCoreRemoteTier$" />
				<LocalClass name="Articles.ArticleContentFilteringBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getArticleContentFilters" security="disabled">
			<Option value="$ArticleCoreRemoteTier$">
				<RemoteRule url="$ArticleCoreRemoteTier$" />
				<LocalClass name="Articles.ArticleContentFilteringBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getArticleContentFilter" security="disabled">
			<Option value="$ArticleCoreRemoteTier$">
				<RemoteRule url="$ArticleCoreRemoteTier$" />
				<LocalClass name="Articles.ArticleContentFilteringBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="updateArticleContentFilter" security="disabled">
			<Option value="$ArticleCoreRemoteTier$">
				<RemoteRule url="$ArticleCoreRemoteTier$" />
				<LocalClass name="Articles.ArticleContentFilteringBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="deleteArticleContentFilter" security="disabled">
			<Option value="$ArticleCoreRemoteTier$">
				<RemoteRule url="$ArticleCoreRemoteTier$" />
				<LocalClass name="Articles.ArticleContentFilteringBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getArticleFilterArticleTypes" security="disabled">
			<Option value="$ArticleCoreRemoteTier$">
				<RemoteRule url="$ArticleCoreRemoteTier$" />
				<LocalClass name="Articles.ArticleContentFilteringBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="filterAllHtml" security="disabled">
			<Option value="$ArticleCoreRemoteTier$">
				<RemoteRule url="$ArticleCoreRemoteTier$" />
				<LocalClass name="Articles.ArticleContentFilteringBizRules,ScsCore" />
			</Option>
		</BusinessRule>
	</BusinessRules>	 
	
	<ApplicationData>
		<Entry name="AllowableArticleTypesForContentFiltering" type="IBizObjList.ArticleType">
			<ArticleTypes>
				<ArticleType id="Article" name="General Articles" />
				<ArticleType id="Blog" name="Blog Entries" />
				<ArticleType id="Forum" name="Forum Posts" />
				<ArticleType id="Comments" name="User Comments" />
			</ArticleTypes>
		</Entry>
		<Entry name="StripAllHtmlFilter" type="IBizObj.ArticleContentFilter">
			<ArticleContentFilter stripDisallowedAndSave="True" allowNothingButSpecified="True" />
		</Entry>
	</ApplicationData>

		<ClassFactory id="BizProcs">
		<Class type="Articles.Gui.ArticleContentFilteringBizProc,ScsCore" name="contentFilters"/>
	</ClassFactory>
</Feature>